<?php
/**
 * ExtListView class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtListView extends ExtListViewBase
{
    /**
     * Gets the value of ExtJS columnResize property
     * @return Boolean/Object 
     */
    public function getColumnResize()
    {
    	return $this->getConfig("columnresize");
    }

    /**
     * Sets the value of ExtJS columnResize property
     * @param Boolean/Object $value 
     */
    public function setColumnResize($value)
    {
    	$this->setConfig("columnresize",$value);
    }

    /**
     * Gets the value of ExtJS columnSort property
     * @return Boolean/Object 
     */
    public function getColumnSort()
    {
    	return $this->getConfig("columnsort");
    }

    /**
     * Sets the value of ExtJS columnSort property
     * @param Boolean/Object $value 
     */
    public function setColumnSort($value)
    {
    	$this->setConfig("columnsort",$value);
    }

    /**
     * Gets the value of ExtJS hideHeaders property
     * @return Boolean 
     */
    public function getHideHeaders()
    {
    	return $this->getConfig("hideheaders");
    }

    /**
     * Sets the value of ExtJS hideHeaders property
     * @param Boolean $value 
     */
    public function setHideHeaders($value)
    {
    	$this->setConfig("hideheaders",$value);
    }

    /**
     * Gets the value of ExtJS itemSelector property
     * @return String 
     */
    public function getItemSelector()
    {
    	return $this->getConfig("itemselector");
    }

    /**
     * Sets the value of ExtJS itemSelector property
     * @param String $value 
     */
    public function setItemSelector($value)
    {
    	$this->setConfig("itemselector",$value);
    }

    /**
     * Gets the value of ExtJS overClass property
     * @return String 
     */
    public function getOverClass()
    {
    	return $this->getConfig("overclass");
    }

    /**
     * Sets the value of ExtJS overClass property
     * @param String $value 
     */
    public function setOverClass($value)
    {
    	$this->setConfig("overclass",$value);
    }

    /**
     * Gets the value of ExtJS reserveScrollOffset property
     * @return Boolean 
     */
    public function getReserveScrollOffset()
    {
    	return $this->getConfig("reservescrolloffset");
    }

    /**
     * Sets the value of ExtJS reserveScrollOffset property
     * @param Boolean $value 
     */
    public function setReserveScrollOffset($value)
    {
    	$this->setConfig("reservescrolloffset",$value);
    }

    /**
     * Gets the value of ExtJS scrollOffset property
     * @return Number 
     */
    public function getScrollOffset()
    {
    	return $this->getConfig("scrolloffset");
    }

    /**
     * Sets the value of ExtJS scrollOffset property
     * @param Number $value 
     */
    public function setScrollOffset($value)
    {
    	$this->setConfig("scrolloffset",$value);
    }

    /**
     * Gets the value of ExtJS selectedClass property
     * @return String 
     */
    public function getSelectedClass()
    {
    	return $this->getConfig("selectedclass");
    }

    /**
     * Sets the value of ExtJS selectedClass property
     * @param String $value 
     */
    public function setSelectedClass($value)
    {
    	$this->setConfig("selectedclass",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'columnresize' => 'columnResize',
            'columnsort' => 'columnSort',
            'hideheaders' => 'hideHeaders',
            'itemselector' => 'itemSelector',
            'overclass' => 'overClass',
            'reservescrolloffset' => 'reserveScrollOffset',
            'scrolloffset' => 'scrollOffset',
            'selectedclass' => 'selectedClass'
        ));



        $this->proptags = array_merge($this->proptags,array(
            'listcolumns' => true
        ));
        $this->setXType('listview');
        $this->setXClass('Ext.list.ListView');
    }    
}
?>